import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

//业务入账状态查询
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQuery/search`,
}



// 业务入账状态查询录入
export function ccmsBusinessAccountQueryEntry(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQueryEntry/save`,
    method: 'post',
    data:data
  })
}



// 业务入账状态查询录入
export function ccmsBusinessAccountQueryDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQuery/detail`,
    method: 'get',
    params: { id:data.id }
  })
}

